package com.huiyan.hysys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@TableName("t_user")
@NoArgsConstructor
public class User {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer flag;
    private String password;
    private String phone;

    public User(Integer flag, String password, String phone) {
        this.flag = flag;
        this.password = password;
        this.phone = phone;
    }
}
